/**
 * Author:ChenLiangtao
 * Data:2013/07/06
 * Function:
 * 1 �û�ע��
 * 2 �û���¼
 */

package com.thunder.action;

import com.opensymphony.xwork2.ActionSupport;
import com.thunder.daoImp.UserinfoDAO;
import com.thunder.iDao.IUserInfoDao;

public class LoginAction extends ActionSupport{
	
	IUserInfoDao userDao;
	
	public IUserInfoDao getUserDao() {
		return userDao;
	}

	public void setUserDao(IUserInfoDao userDao) {
		this.userDao = userDao;
	}

	/**
	 * �̳еķ���
	 */
	@Override
	public String execute() throws Exception {
		// TODO Auto-generated method stub
		
		 System.out.println("userdao--->"+userDao);
		
		
		return "s";
	}

	/**
	 * �Զ��巽��
	 * @return SUCCESS ���������سɹ�
	 */
	public String login() {
		
		return SUCCESS;
		
	}
	
	/**
	 * �Զ��巽��
	 * @return s �Զ�����������سɹ�
	 */
	public String register(){
		
		return "s";
		
	}
	
	
}
